﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OOP.Proxy.DesignPattern.Attr;
using OOP.Proxy.DesignPattern.IServices;

namespace OOP.Proxy.DesignPattern.Services
{
    public class OrderService : IOrderService
    {
        [Log("INFO")]
        public void Order()
        {
            Console.WriteLine("用户正在下单");
        }

        [Log("DEBUG")]
        public void Payment()
        {
            Console.WriteLine("用户正在支付");
        }
    }
}
